Total Complexity | 20 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 186 |
Lines of code | 149 |
Logical lines of code | 34 |
Comment lines | 3 |
Methods | 8 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
generate_line_item() | 44 | 5 | 49 | |
generate_fee_item() | 49 | 4 | 32 | |
generate_shipping_item() | 51 | 3 | 27 | |
add_total_discount() | 54 | 2 | 21 | |
set_options() | 63 | 3 | 10 | |
__construct() | 76 | 1 | 4 | |
get_order_items() | 82 | 1 | 3 | |
add_order_item() | 80 | 1 | 3 |